Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

amend mail template

Hi, we have just been through this process and its hard to avoid some issues. Obviously you can tell your users how to strip out the domai and re-send if they get a mail failure. We also amended the mail template strip out the domain - this is the code we used:

Open your mail template in Designer
Click on Forms and double click on Reply form to open it

Click on the field InheritedSendTo (on second line of red hidden fields) - it should look like this:


Delete all the code shown above (from @if
(@ClientType="Notes"........etc down to SendTo:CopyTo
)




Copy and paste this code in instead:

@If
(@ClientType="Notes";
@If
(@IsDocBeingMailed | (@IsDocBeingSaved & @IsAvailable(PostedDate));
@Unavailable;
@If
(@IsNewDoc & @IsDocBeingLoaded;
@Unique(@ReplaceSubstring( SendTo: CopyTo;"@WINET":"@CLNET":"@WVC":"@SVNET":"@HQNET":"@LGENET";"")) : @If
(
(@Name([Abbreviate];From)!=@Name([Abbreviate];Principal) & Principal != "");
From;
"")
;InheritedSendTo)
);
SendTo:CopyTo
)

Then click on the InheritedFrom field



and do exactly the same - ie delete existing code and paste in the following code:


Who := @If
(@IsAvailable(Principal) & Principal != "";
Principal;
@IsAvailable(From);
From;
@Author
);
@ReplaceSubstring(
@If
(@IsAvailable(FromDomain);
Who + "@" + FromDomain;
Who
)
;"@WINET":"@CLNET":"@WVC":"@SVNET":"@HQNET":"@LGENET";"":"":"":"":"":"")



Close the form and save it
Open the Reply With History form and repeat all the above steps for the same 2 fields, then save and close


If you use more than one mail template , repeat all steps above on each template


WE still had some odd issues with re-schedulking old calender events, Hope this helps


Feedback response number WEBB7V9H6P created by ~Lisa Frojumikony on 08/25/2009

Routing from old domain to new doma... (~Naomi Kiponest... 25.Aug.09)
. . Update - more stuff to be aware of (~Naomi Kiponest... 1.Sep.09)
. . Create a non-adjacent domain docume... (~Judy Chukroche... 27.Nov.09)
. . ... (~Ted Deslubergi... 25.Aug.09)
. . . . OldDomain and NewDomain (~Naomi Kiponest... 31.Aug.09)
. . amend mail template (~Lisa Frojumiko... 25.Aug.09)
. . . . That may be a workaround. (~Naomi Kiponest... 25.Aug.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS